package com.zh.ssmshirofreemarker.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.zh.ssmshirofreemarker.entity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ZH
 * @since 2018-07-24
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> selectUserList(Pagination page,@Param("user") User user);

    boolean updateDeleteFlagById(User user);

    boolean updateDeleteFlagByIds(String[] ids,User user);

}
